package com.example.trackcircuitdiagnosis.time;

import org.springframework.stereotype.Component;

/**
 * @author: 申佳楠
 * TODO
 * 2023/12/6 20:45
 */

@Component
public class MyScheduledTask {

    private boolean isTaskRunning = false;

    public int sendTime;

    public String msg = "启动成功";

    public boolean isTaskRunning() {
        return isTaskRunning;
    }

    public void setTaskRunning(boolean taskRunning) {
        isTaskRunning = taskRunning;
    }
    public void setSendTime(int sendTime) {
        this.sendTime = sendTime;
    }

    public void setTaskRunningStatus(boolean taskRunning) {
        msg="启动成功";
    }

    // 其他定时任务相关的方法
}